package models

import "gorm.io/gorm"

type Mango struct {
	gorm.Model
	Username string `gorm:"type:varchar(255)"`
	Password string `gorm:"type:varchar(255)"`
}
type Article struct {
	gorm.Model
	Title   string `gorm:"type:varchar(255)"`
	Content string `gorm:"type:text"`
}

// ////车辆交易订单
type BigCar struct {
	gorm.Model
	CarCode  string `gorm:"type:varchar(50)"`
	CarName  string `gorm:"type:varchar(50)"`
	CarPrice int    `gorm:"type:int"`
}
type BigCarOrder struct {
	gorm.Model
	OrderCode string `gorm:"type:varchar(30)"` //订单编码
	OrderTo   string `gorm:"type:varchar(50)"` //配送地产
	Cid       int    `gorm:"type:int"`         //配送id
}
type BigCarOrderList struct {
	OrderId   int    `gorm:"type:int"`
	CarCode   string `gorm:"type:varchar(50)"`
	CarName   string `gorm:"type:varchar(50)"`
	CarPrice  int    `gorm:"type:int"`
	OrderCode string `gorm:"type:varchar(30)"` //订单编码
	OrderTo   string `gorm:"type:varchar(50)"` //配送地产
}
